#ifndef MODEL_H_
#define MODEL_H_

#include <fstream>
#include <vector>
#include "log.h"
#include "draw.h"
#include "util.h"

struct MdlVertex
{

	float x, y, z;
	float r, g, b;

};

struct MdlTriangle
{

	MdlVertex v[3];

};

class CModel 
{
	
	private:

		std::vector< MdlTriangle > triangles;

	public:

		void Load( const char * );
		void Draw();

};

#endif
